<template>
    <web-view :src="url"></web-view>
</template>

<script>
    export default {
        data() {
            return {
                url: "",
            };
        },
        onLoad(val) {
            uni.setNavigationBarTitle({
                title: val.index == 0 ?
                    "练习路段与安全事项说明" : val.index == 1 ?
                    "取消订单说明" : val.index == 2 ?
                    "陪练人员匹配问题" : val.index == 3 ?
                    "退款说明" : "",
            });
            this.url = val.url;
        },
    };
</script>

<style></style>